Fix image layout.