As you can see the MIDI data occurs well after the transients attack.
• Logic version: Logic 10.0.7
• OS X version: OS 10.9.5
• Computer: iMac
• Processor: 2.7 GHz Intel Core i5
• Memory: 8GB
• Audio interface manufacturer and model: Komplete Audio 6, Native Instruments
• MIDI Controller manufacturer and model: Novation Impulse 49 (when connected, but is currently not)