[Bug 34263] Framebuffer read-before-write causes graphical glitches