A somewhat hacky solution to address missing note-off events when a linked midi-region is used on separate tracks at the same time. see the source-code comment for further info.