Fixed line interpolation bug. Kudos to @dand-oss for the catch!