Fix bug in editor plugin refactor with handling change events.