Merge "Make RenderEngine render to the same format as the readback buffer." into main