dpr unavailable in background page