fix phantom entities sometimes visible

Phantom entities sometimes visible when changing worlds