Revised bug fix for Firefox hidden iframe bug