on't resize hvbox smaller than minwidth/minheight

The old code does not respect minwidth/minheight, such that a box can be smaller than its min size.