Fixed dead redirect when in <iframe>