Added stop propagation to mouse events