Fixed tangent generation.