mainwindow: Fix scaling of initial image.