Well, if you could provide screenshot/gifs of these scenarios getting stuck, that would help. I never make script changes based on speculation; not with this one. I still do test runs occasionally, but haven't had any issues the last few times. I'll do some more soon to make sure.
For minimap interactions and such, that can often be caused by settings such as screen zoom or resizable mode; so ensure that those are at default and fixed (probably is; but make sure anyway).
Most of the script changes at this point are very technical; most often minor changes to the evaluation heuristics (the numbers used to make decisions); I don't think it'll make much sense to specify these in the OP.
I'll have a look. Was this using 'Quick-start', or did you manually specify numbers of potions? If so, how many of each did you specify?
Also is there a difference between these images? What am I looking at here