Fixing a nav bar disappearing bug - WIP