Set pixel ratio to only be applied if flag is passed to prevent current regression - I should come back to this