Artefacts near shore on water material

This is a frame from a .png sequence rendered through movie render queue, but the problem is also visible inside the editor.