Fixed case when the output object does not have enough channels