During first run create page with correct page size.
During creation of page, size and DPI is taken from previous page. Unfortunately if it is a first page, then the page size is default which is 100x100 and 100 DPI.
With this patch the page size/DPI is set correctly after press Scan button.
The issue is reproducible only on real scanner on the first scanned page.
(cherry picked from commit b7c9b758)