DNN-6215: fix for (Random) ModuleLoadException in Navigation Menu