When filling a region, take into account snapping.