Keep region when undoing in region