Fix crash with mods calling loadTextureMap in postInit