feature #5592: use RenderTexture to capture screen in photo share testcase