Fix World::isUnderwater to use dynamic waterlevel