Add mouse event for canvas 2d