Fixing the grid clearing of floats