So it doesn’t happen when you add new images?
It’s possible that you had a plugin/function interfering when you originally added the problem images. These are static blocks, so once the HTML is inserted, it stays using that HTML.
What happens if you replace the problem image on the page?