Fixing bug where hunter or prey could end up in a wall