Fix bug with oversized page range.
Custom scaling factor.