Fix empty MIDI import panel when closing non active score tab