fix #30106: note input cursor too close too barline

A small tweak to note input cursor: make sure it's always positioned at least barNoteDistance (style parameter) from the barline.  This keeps the cursor from overlapping the barline when entering an empty measure (it's trying to center the box at x position 0.0).