Fix caps when the src is smaller than the output