Edit an inline error image and change it to 'thumbnail', it renders as a normal image, not with the red linked title.
The offending code is in ve.ui.MWMediaDialog lines 1243-1269. In the else block (1255) we remove the old image and create a new one using this.imageModel.insertImageNode. This new image always has no error flag set due to line 452 of ve.dm.MWImageModel, however we should check that the src has changed before making this assumption. We check the src has changed on line 1250 of ve.ui.MWMediaDialog, so we can reuse that logic.