This has definitely come up before. Why hasn't roadkill been selected against by now?
I’ll give the same answer I gave then. I watched a documentary about raccoons in Toronto that suggested both that city raccoons were smarter than country raccoons and that city raccoons rarely crossed busy streets. That suggests raccoons’ urban environment was selecting some trait (perhaps intelligence) that helps them survive traffic better. So maybe traffic is contributing to the evolution of smarter raccoons that recognize busy streets and learn to avoid crossing them.
I’m pretty sure this was the documentary: https://www.thestar.com/news/gta/2011/02/11/documentary_reveals_the_secret_lives_of_torontos_raccoons.html