fixed a crash bug when model is loaded after loading effect