CGE2: Fix flags synchronization