Fix client crash on deletion of an object the clients localplayer is attached to