fix grid for Safari 6.0