This does not affect behavior, but maybe you could try a wall in quest editor, that is impassable only to enemies, and surround the water with it. However this may have unintended consequences if you intend to let land-based enemies fall in the water. I imagine there are more advanced solutions that may be more helpful.