Fix bug in Editor refactor with handling change events.