explicitly check if devicePixelRatio hasn't been set
(fixes conflict with google analytics cookies)