Fix images to draw properly on big endian