Fix stuck notes on panic or all-notes-off.