With hardware acceleration on, adjust the Angle flag for your GPU. That can help you get rid of the glitches while keeping hardware acceleration on.