fixes issues with floatings in grids