Polyline resize bug