Fix "Auto-fit" and "Auto-fit (Larger Only)" zooms in fullcreen mode.

"Auto-fit" and "Auto-fit (Larger Only)" zooms were giving different results depending on if they were used in windowed or fullscreened mode.

This commit fixes #2881.