Fix for #161 iframe problems