Fix grid view with less items than columns