This is a part of the tvOS system.  It is the only grid control I've seen that automatically handles grids with different numbers of items in each row but that is just how it behaves.