Fix submenu visibility when 2 or more items with same name