EditorController: Fixed not reseting history on file open