Fix image descriptor header bytes