Ooooohohhhh that was what it is. I was so confused why my macros kept failing (but they fail when I hit the macro and then tab out, but work fine when I am watching it)

Actually due to that reason I am wondering if it is actually client lag and not server lag? Since macros only seem to fail when the game is in the background maybe it does not consume the full resources it usually does when I have the game focused and am watching it.