Invalidate positions correctly when adding a child box.