Fix image rendering.