Add mouse event callback handler.