Why are my Dawn theme product images blurry on the front end?

I’ve tried that, no cigar. I managed to get thumbnails to look better, but zoom-in modal is still very blurry.

If you delete this from product-thumbnail.liquid:

But that’s a hack not a solution.