Add device_pixel_ratio in config.