Main window: Doc thumbnailer: Fix resuming

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