Fixed bugs affecting pixel interleaved data.