fix #11661: grace notes are not part of selection