#89402HMENU with special=directoy removes mount point if target page is in same menu
Description
This is a bit of an edge case but it caused me some head scratching:
I added a menu of subpages to a pagetree that looks like this:
- page 1 (default)
- page 2 (MP to page 1)
The menu will only render one of the two pages.
The reason is simple: the page UID is used as array key in the menu item array.
\TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::prepareMenuItemsForDirectoryMenu():
$menuItems[$row['uid']] = $this->sys_page->getPageOverlay($row);