Fix image stride.