Patch for upcoming Safari release.
The relevant release is 16.4, which is still not out yet, and we still don't know when exactly it will be out.