Finally fix silly bug in resizeChildren().