Correctly apply `object-fit` polyfill in Safari