fixed undefined value if is not supported devicePixelRatio