Fixed missing device pixel ratio detection and update in url setter and constructor when only passing url