Repairs/changes to box resizing