left click stuck after macro

I have glorious model d pro(not the issue). After binding a macro for left click to side button if i activate the macro it does the clicking i need (on toggle); after deactivation it seems to effect my mouse left click. I can sometimes get it to work again by activating and deactivating the macro, but that can be so bothersome. If i had to guess its cuz of deactivating the the middle of the button press. (Also tested this issue on Glorious GMMK2 with the same issues). Been Hoping for this issue to resolved for sometime now and cant seem to find anyone else complaining of this issue. I will continue to use AHK until this resolves but hope to be using glorious core in the future.

Thanks