Click at the start of exported audio file

In Cubase 10.5.20, I am trying to export samples via midi noted triggering a Kontakt instrument. The instrument sound starts right away, i.e., somewhat fast transient.

If I play the note on my keyboard or play it in Cubase there is no problem. But when I export the midi clip as audio there is a ‘click’ at the start of the file.

Looking at the waveform it does NOT start at zero, so that’s the click. But why would it not start at zero via the export?