Fixed ReactionEditor undo bug