Fix transform for safari and ie