Fixes and improves 3d rendering of transitions

Does not render shoulders when their length is zero.
Renders the main part of a transition with thickness.