Take the Windows taskbar into account when deciding on the maximum