Oh, I didn't realize that they had added an option to the UI. Yea, that's a better way to do it.Or you can try going into Firefox settings and unchecking the "use hardware acceleration when available" box. It essentially does the config edit the poster above mentioned without having to go into the about:config page.
Though if there's a hardware problem, it's best to address it (if possible) instead of sweeping it under the carpet.I was getting the same type of corruption on an older system of mine and it cleared up once I unchecked that box.