Graphic glitch correction