Sequoia does not refresh my (API1) desktop canvas

Hi Folks,
I made a date picker long ago using a canvas and a container control, for xojo desktop.
it uses API1 mostly
it worked fine until I noticed some weird behavior under macos sequoia only (it works fine under sonoma)
if I clic on a part of the control (say the month) it is selected, if I type numbers nothing is displayed until I clic on the control again, then the new month I typed appears.
does anybody know of some weird behavior like this happening only on sequoia for the refresh, invalidate or paint methods ?
thanks.
Capture d’écran 2025-03-29 à 08.51.05

I also just saw something weird with a canvas painting some text and ShowModal. The canvas never painted. I was able to replace the modal dialog with a MessageDialog so I did not investigate further.

It appeared related to macOS versions. It worked correctly on Big Sur, but not on Sequoia.