Prevent propagation of mouse events.