fixed logic error which could result in a crash if there is an intersection at the first vertex
fixed logic error which could result in a crash if there is an intersection at the first vertex

hfutrell/BezierKit,hfutrell/BezierKit