Automatic Size and UiGridLayout causes some items to disappear

I have a frame with AutomaticSize enabled on the Y scale and it has a UiGridLayout. When I add items it works fine until the third row, The frame is still resizing correctly but the items from the 3 row and onwards arent showing anymore. I have tried disabling clipDecendants on the frame and Billboard but that didn’t work