Fixes bad style output when a grid area contains multiple auto heights.