fixed CocoStudio SceneTest crash when it quits.