fix #37021: minimum line length can overlap next note