Avoid degenerated case when both vector are perpendicular (ie u dot w == 0)
Making miter join more resilient to bad geometry.