Fix image folding.