Update:
I have found the issue and it's not related to this script, it is with the client.
For anyone else experiencing the bank opening and closing bug, it happens if you start the script with a bank TAB open. i.e you load the bank and you are in your 4th TAB which you last used.
You can keep your bank TABS, but select the very first TAB on the left, close the bank and restart the script. The bot should now be able to move around the bank, clicking on any TABS it needs to.