Fix tab-click closing menu