Main: Correctly change perspective when resizing window.