fixed problem on the grid for webkit