Solves issue #7021.

Line intersection tool now made to work with Single Layer.