Prevent further game crashing errors.