Fix an error when there is no items and we force center.

Signed-off-by: François de Metz <francois@stormz.me>