Add back support for glReadPixels screenshot path.