Fix scale transform for Safari