I’ve seen the same issue here and with other web apps, and I’d guess this is probably because of the responsive editing window. I doubt there is much the @discourse folks can do about it. Grammarly needs to work better with sites that don’t simply produce a simple edit box.
At least you can click on the “G” to bring up a summary of issues.