When resizing the window, even if it's by one pixel, all images are shown for a moment on their original sizes, creating an uncomfortable flickering. Would it be possible to avoid this effect?