Fix for the popout menu not appearing on top