Fix World::isUnderwater to use dynamic waterlevel

This problem caused setWaterLevel command to not have any effect on character swimming.