Fix all broken tests and one small actual bug

- The bug was w/ single-action subpaths (only a moveTo) sending
  some junk NaN numbers due to a divide-by-zero of the linear length.