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

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

This commit fixes #2881.