ie does not support resetTransform so do the manual way