Fixes images overflowing their containers.