Revert "Don't hide submenus immediately when unselecting the parent's entry"