bugfix menu hiding