Fix uint16 pixel type correction