Issue #3439990 by mondrake, petar_basic, fago, ericgsmith: With 10.2 image styles might get wrongly flushed