fix #24735: allocate space for fretboard diagrams

even if not on top staff
partial fix for chords above fretboard diagrams