Fixed a small issue with showing/hiding menus.