Frontend: Main window: Fix export previews

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