Fix for odd resolutions being unacceptable to Windows.