Fix for Safari and Private Browsing Mode on iOS devices.