Fix computedStyle fallback in Firefox