Fixed a bug with edge ends snapping when shrinking polygons.