Fixed tab remove bug for EditorPane introduced by using AceView.