Videos says it all:
What skill is being used on the macro?
Sahar Atias, could you please find another spells with the same behaviour to produce complete fix. In addition you can use this temporary fix. See datapack commit d949173, core commit 2b9d730, TODO for details.
this happend to all skills no matter macro or not
This issue is very annoying to bot user, But human player even don't realize it. So I decide to keep it that way.