So I found out it runs better at the varrock mines. The problem is the way you scripted banking. I think it simply looks for the closest bank as the crow flies. Then it clicks towards it until it finds the bank, then clicks the bank.
First of all, this does not work in some cases. In the case of the crafting guild: the player needs to have access to the crafting guild and the bot should open the door first. Now it gets stuck on clicking the bank. In the case of the falador east bank; it stands next to the wall, trying to walk through it. This needs fixing.
Second of all, this is much slower than following a predetermined path. This might be more work to add for all your locations, but solves many issues banking and makes the bot faster.