I renamed `this.dpi` to `this._dpi` and made the lazy getter `detectDpi` public instead.