Close #8. Fix an issue where drraging a shape around, other shapes around the dirty ragin were cut off.