Add mouse event callbacks.