Updated transformation to fix a z scale of 0 in gecko/trident