fix selection of overlapping notes