Main window: Fix: After a scan, make sure we scroll correctly to the last page
(canvas size wasn't correctly computed, so the scroll didn't occur)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Merge branch 'testing' into unstable