Fix avgRowHeight being accidentally set to 0 when grid is hidden