Propagate mouse events only when a menu is not being manipulated