NSTokenField changing case of second dropped string

I have Swift code that accepts dragging a lowercase string from the TextEdit app.

On the first drop, the text is accepted as is but, on the second drop, the first words are capitalised.

Any ideas?