Fixed bug that allowed mods to be loaded many times