Glut chaches modifiers to avoid having to query them when it should not.
It now uses the cache on mouse actions, althought the bug was specifically
for mouse motion.