Frontend: main window: Fix: when the page size is (re)defined, don't always load the content

Signed-off-by: Jerome Flesch <jflesch@gmail.com>