Incorrect texture mapping when editing a landscape

The material is superimposed procedurally on the angle of the surface, but when editing it even with zero force, distortion occurs

224661-screenshot-5.png