Try highlighting a few times then click the space bar and add some more text then try highlighting again?
Are you using the same richeditor as me?
I have compiled the Richeditor spell check demo as well and it still does it using Delphi 10.3.3