Correctly set stem direction for chords.