Fix stop crashing with UIWidget::moveChildToIndex.