LPS-47486 Safari only - SPA will continuously reload the page

This has the same fix as AUI-1419.