Place the UI Panel to the top of the display because it is the last to be draw among the siblings
root.transform.SetAsLastSibling();
// Puts the panel to the front as it is now the last UI element to be drawn.
panelRectTransform.SetAsLastSibling();