Fix missing min/max depth check in get water pos