Well without seeing the project events... I'd first want to confirm via some sort of visible and/or audible indicator that 'on overlay activated' is firing when you expect it to (and only when you expect it to).
Assuming your pause is set up and working as intended when used manually. Then I'd check your pause toggle to make sure nothing else is interfering with that and possibly unpausing on the same tick, as often happens.