Made image decoding seamless.