Fix blank window when third party cookies are disabled.