Frontend: Main window: Scan: When the main window is resized, keep the scan animation correctly placed

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