Fixed a bug where worms on impassable terrain could move through impassable terrain.