If no one has answered this question on another thread or is just looking at this as the first link on google like I did, the answer is to add an action on cue as 'remap key' rather than a macro.
Once you do that it works perfectly in every game I have every played and in all programs