Fixing an issue with the grid in safari 6.3