by mauritsl: Fix incompatibility with admin_menu module. See #417052 for the same issue with the Menu Breadcrumb module.