made pixelRatio a property, not an option