There are "phantoms" of enemies on the client shuffled with the actual ones

No, this didn’t help. Phantoms are seen at the game startup, before any show/hide functions are called.