[#57212010] fix init order
Merge pull request #163 from BrandyMint/aleksxor/bug/57212010-fix-deferred-events

#57212010 fix deferred events