Fixed undo working point.