CRICIAL: Fixed player crashes.