Fixes [list][*] Fixed a crash when a person with certain clothes goes to bed [*] Fixed a crash when fences or counters are next to the borders of the map[/list]