[NUI] Change the call to GetRootLayer() so that the layer index can be updated.