Does this happen when the spindle fires up? If so, it could be RF interference from the spindle leads. If you edit out the M3 command from a program which has this problem and it stops happening, then that would confirm it as the issue. (Make sure you zero Z well above the workpiece if you do this).