Correctly resize the glViewport on window resize