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

This addresses issue #1517.