Merge "Don't clear the framebuffer when not needed."