Cleanup in MapperGLCanvas.cpp mousePressedEvent.