Fix MIDI problems