Fix image ratios.