Fix for GLUT missing screen size. Adapted from https://github.com/moai/moai-dev/pull/793.