Attempt to fix handling of quadratic splines with no on-curve points.

This addresses issue #1517.

I don't know how this got here, but it only ought to happen leading into the first on-curve point as in the conditional below.