Scaling Object (Plane) but not Shader

So im trying to do Water


And its working. I attached it to a plane
But the problem is, if i scale the Plane, the Shader is also getting scaled, that makes the Waves wont work anymore. So how do i scale the plane, but not the Shader? The Shader should just continue working as it was.

You could use the world position instead of the UV of the mesh to make the waves, by using the x and z components you should get horizontal UV that don’t take the scale of the object into account