rcloud device pixel ratio handling
Merge commit 'c275013' into release-0.8