despawn performance fixes