Fix the redirect loop on flash fallback for osx