I suspect this may be a bug in Safari's handling of CSS Grid layout, but you might want to try and work around it.