Fixed being able to walk outside the map