Version of Geany and platform (and in your case if thats a VM)?
Cannot reproduce with:
``` 09:41:52: Geany INFO : Geany 2.1 (git >= 8ca4170b1), en_AU.UTF-8 09:41:52: Geany INFO : GTK 3.24.20, GLib 2.64.6 09:41:52: Geany INFO : OS: Linux Mint 20 (ulyana) ```