Fix for showmenu

Fix for showmenu