Megamenu: Fix hide submenu item if its parent does not show