fixed #3460 SceneTest crashed when back to the main menu scene.
fixed #3460 modify error Wrong indent.
fixed #3460 revert ui action play code.