Minimum space units should be 1

This is for #9899 . This prevents space units from being set to 0.

@RaymondLim