Fix grid in Safari