It turns out we don't need those images as they were thumbnail duplicates of the larger images. I removed all but two; I left those for debugging purposes.
I went to the wiki page and the thumbnails looked good. Bigger than expected, but properly proportioned. I then added a new thumbnail, saved it, and we were back to distorted images. I removed the new image and they are still distorted.