Fixed error when line test doesn't intersect plane