Updated for Fall Patch. I temporarily added a block once latest update came out until I could check compatibility (so it wouldn't have worked for past two days, but it at least it wouldn't have broken anything).

I think I've also resolved issue were units would unintentionally be issued an order from right-clicking, but let me know if you still experience it.

@zaishade and @ploratio, I haven't been able to simulate exactly what you've identified yet. My first suspicion was that the leader animation takes a second to trigger and it's easy to right-click before the animation is ready to read input. I think it might retain that input.. But not too sure.