allow to cancel preventDefault() on mouse events