Change way iframe is hidden to fix problems in certain versions of safari