Just to be clear, I consider the current behavior a bug.
The image was changed before I switched to another note, so Joplin was still watching the image for changes. Yet it didn't notice the change.
(I haven't checked the 3.6 Joplin version though...)