Fixed bug in mapGeneration - modules were not loaded correctly on the server