Fixing a cursor bug in \"GLUT_CURSOR_INHERIT\"