Fixed arc-based swimming AI to an extent

Mobs become stuck when approaching floor or water surface. Something to
do with not being able to reach their target coordinates.