This problems persist from while a go, i'm not sure to date, but QML engine and/or engine to load icons do it on multiple threads. This result in invalid icons when cache is invalidated.
Definitely we talk to rare corner case, so resizing file can lead to undefined results , trying to protect it.