fix synced lua gets unsynced events
fix #4563: water cegs get incorrectly spawned as air ones