[overlay addon] Fix bad synchronization that was breaking gfm mode

Issue #2919