Fixes an issue with the aspect ratio of the window.
It will now no longer always be treated as 1:1, causing severe distortion.