fixing an issue causing the menu button to stay hidden