As you can see in that thread its been bugged for a few months now. If you are targeting anything you cannot focus shadowstep/mouseover shadowstep. It will just shadowstep your current target no matter what you do.
Also, there is another bug where if you use alt as the modifier in the macro it tries to cast shadowstep as a self cast if you ahve it enabled and just says “invalid target”