Fix OpenLine undo history