The input become invisible when the row is filled

In case the selected items fill up the whole first row, the resulting width becomes negative.

This will only make the input the same size as container.