Remove unnecessary call to glViewport when the window is resized