Correcting resolution for GLFW