Add mouse event for canvas