Digsite Issue, Portal Issue

On Map: Digsite
The bot has issues completing the map, as it gets stuck on corners that are higher than the ground and keeps trying to run down.

Additionally, while mid-fight the bot often opens a portal and tries to go to town. Would it be possible to implement a safe area check before opening the portal — for example, ensuring a safe radius of 60 before opening and entering?

Here is the lastrun.log as I cant upload it here:
https://privatebin.net/?02b0a8dfdd5ad588#7BGWzRtcYV5dV8WcUfMCfHx3tZ5EYwnnJutA5hrSvnwj

Was fixed long time ago