Cosmetic damage bug on PC and only in online races, not in free roam or singleplayer.

Hello, I play on pc and even if I have all damage turned off in the settings, I still see cosmetic damage only in online races. All other activities like singleplayer races and online free roam works correctly without any damage, not even cosmetic. I even tried reinstalling the game but nothing changed.