Fix createImgData image headers.