Fix midi export regression where after splitting long mm-rests the cursor was not reset to the correct insert position