Fix grid not resize when body goes empty (autoHeight)