Prevent getComputedStyle exception when running in IFRAME in Firefox