Fix eventual unaligned grid bottom.