Fix issue #23397 sub-beam of flipped note incorrectly placed after addin...

Fix issue #23397 sub-beam of flipped note incorrectly placed after adding horizontal frame mid-system