Improve high device pixel ratio detecting
Add ref to solution
Remove double semicolon.