fix 23727: Stem direction wrong for beamed chords