[MAINT] Fix graphics mouse events.

As the title says.