Fixed the issue with menu position in registerRootMenuPage.