Show correct reference image after replacing it

Reference image was cached and thus after updating
it with current UI still showed old one.