1. -Fix a crash bug in EditorMainFrame.
2. -Refresh the UI view after change the key frame.