Fix a problem with grid layout not displaying enough items with paddingTop set.