added fix for getComputedStyle bug in FF