fix capturing click events when a menu is open