fix submenu hide to full screen effect