fix texture loading error caused by creating scenemanager twice