Indeed: don't paint water. Instead use a wadable water plane. The AI grid will automatically block surfaces below them.