This patch extends commit 1a47ae24712377821994c3b0309b9437da129d73 and
addresses the following issues:
- The state of the menu action checkbox was not updated when the other window changed the its state
- There should be no access to KisConfig in the OpenGL rendering loop (it is slow due to possible disk access).
- A canvas update call should be issued right after the config changed, otherwise the old state of the grid will be visible until one hovers the canvas
BUG: 389033