Fix bug where footer slide-in dismissal failed in Safari private mode