Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel