Support pixelRatio parameter for render tests
Match native