fix retrieval of computed styles in ff