Could be EMI causing the problem. Graphic cards will chuck out far more EMI when they are working harder than when they are just displaying desktop. Assuming that is what is causing it, then there is not a great deal you can do without buying a sound card. EMI can affect sound cards too, but they generally have better shielding than onboard audio.