Quickie fix for NaN handling in line clipping strategy. This fix isn't
satisfactory without more comprehensive tests for points, lines, and polygons.
Committing this and will then immediately back out, I may resume on proper NaN
handling at some later point in time.