Small change to the intersection method of a Line3D

Fixes #7757
@debugger22