Flatten structure of setInitialMenuMetaBoxes() (updates #21998)