ofPolyline fixed crash bug when resampling a path and end up with only one point