Prevent visible background with contain=invert

Limit minimum scale to prevent that the element gets too small, e.g. when container size has changed.