Fix a stack corruption regression when performing certain MIDI CC automation
tasks...