When focus was grabbed, often the wrong widget was selected.
See warning above.
Anyway, problems with GTK usage needs to be discussed on the plugin and/or with GTK folks, not on Geany.
If grabs and signals don't work for the plugin (assuming they are used correctly) then they won't work for Geany, so the functionality requested in the OP can't be added.