Correct OpenGL viewport problem