Entering Hebrew text - punctuation chars are behaving strange

asked by a client to add support for Hebrew entry in a Xojo app. I have tried this but fail to understand the behavior when entering “?” and “.” punctuation characters. They jump around in the text-field, being placed at the wrong end of the textfield and textarea. This is on Windows 10 with the Hebrew keyboard installed, but OS still running in English.

See this movie where I type some characters and add “?” and “.” to the text:

When entering a character after the “?” character, the “?” is moved to the end of the line (left). This also affects pasting text from (for example) www.lorem-ipsum.co.il into the text-field.

Bug or feature?