Injection
This happens whenever you run the script and click either magic or inventory tab.
My settings were, Antiban on, Fire strike spell, Autocast yes
Also there is a way to kind of fix this. If you spam rightclick somewhere else on screen it might give up trying to open tabs. But very often when i try fixing it like that it tries to logout and exits the script instead.
Edit: I think i managed to figure out exactly how to recreate this. It happens whenever you start the script without magic tab open.
I don't think the error is on Osbot's part more likely to be part of your scripts logic. Like if it starts without magic tab open then open magic tab but then it wants to return to the inventory but wait no we have to open magic tab etc.