Solved another problem with negative water depths