This bug has been tackled quite a lot on here, what length races do you do? Basically don't pit on the recommend stop; change it to either a lap earlier or later. I find I don't have any problems doing 40-50% races in career mode when I pit either a lap earlier or later.