fix pointer events in menus, don't close menus if clicking a checkbox