Fix resizing of children