fix #24499: chord symbol edit mode layout issues

A few related issues for chord symbol edit mode fixed:

- edit box drawn at wrong size (the render size, not the text size)
- chord symbol jumps up and down while editing if using any vertical alignment but BASELINE
- change of text style while in edit mode can lead to markup appearing in chord symbol