Only consume mouse events on the element.