fix bug on hboxlayout DoExceedPrefer