Fix grid not resized when body goes empty (autoHeight)