Fixed framebuff output glitches