Hmm, it shouldn't try and interact while it is traversing an obstacle. The only reason under which I think this could happen would be if, for whatever reason (latency fluctuation?) your player animation was cancelled while interacting. Maybe this issue is obstacle specific - please could you let me know exactly for which obstacle this happens?
Also, there's not much I can do about misclicks (like the general store one you described). That's something that can happen for a multitude of reasons, such as changes in latency, cpu/ram limitations, zoom settings, etc..., and will happen for any script/bot you use!
-Apa