fix newly introduced deadlock when cloning MIDI regions