Fix Scene.distanceToNearestPointTouchingTheLine() to if no distance found than output 1e8.