Visual glitch when placing ocean


I get a weird shelf effect when placing an ocean that seems to cause a vertical rip. Is there any fix for this?