Fixed bug where the offset of the burrow region was calculated wrongly