Anselm Hannemann: Fix image resizing with object-fit

Anselm Hannemann: Fix image resizing with object-fit.

---