It is the freezing part that is causing the glitch. You got to think of the individual pices of an ability not the thing at a whole. It only takes 1 line of code or one little part to be wrong to create a glitch. So you got to think what part of the code can cuase that glitch. What other programs use that code. Is there a difference between the code of the ones that do and do not work.

Jack:

War3_SetBuff( client, bNoMoveMode, War3_GetRace(client), true );

Athena:

War3_SetBuff(target,bNoMoveMode,thisRaceID,true);

Do you see the problem now?