See if it happens with the __latest__ Scite (the Scintilla reference editor) and if so report it to Scintilla and link the report here.
If it doesn't happen then it may be fixed in a newer Scintilla than Geany uses (or if you report it, and its fixed) then will be fixed in Geany when it is upgraded to a new Scintilla.