fix cross-browser issue for css transformation