fixed ecs delete entity bug