Activates undo in region and keeps the region stable when moving around