Fix bug with menu pointer events passing through