Fixes #14451 - Allow plugins to add menus to top menu without breaking the second menu
(cherry picked from commit 8b924f2848fb53eb1b0faccb59c8154ff9b52c0b)
Fixes #14451 - Allow plugins to add menus to top menu without breaking the second menu
(cherry picked from commit 8b924f2848fb53eb1b0faccb59c8154ff9b52c0b)