Fixed an issue where the menu was hidden on load