Fix bug in reading Image Descriptor.