Fix source/region length on MIDI import.