removed check for mouse has moved, for environments without mouse