translate 3d for safari fix