fixes #3736 fixes crash when to enter SceneEditorTest at second time.
Merge pull request #46 from chengstory/Bug#3736

fixes #3736 fixes crash when to enter SceneEditorTest at second time.
fixed crash of action