qml: prevent repetitive image loading due to size changes in ScaledImage
This is an optimization because we do not want the Image
to load an image multiple times until the source size is finalized, just to discard the loaded images.
Review request @chub.