Added Refindex updates to the rendering process of grid containers