Update MIDITrack.cpp

fixed issue for multitrack files