[ftools] Fix Line Intersection (Fix #8114)