Fix shift-rect-select with MIDI notes.