MxGrid: fix row allocation when some children are hidden