Yeah sorry this was a joke reply lol, hope I didn't hurt your feelings or anything. When I was using an autoclicker it shot me through the wall (I'm guessing because I was going so fast it skipped a frame where I was supposed to collide with the wall) Not sure how much you could do to fix it, but if you can't find anything I suggest maybe adding something in game that tells people that using autoclickers could break the game . Other than that, I got no ideas.
It happens even without using an autoclicker. The car leaves the limit of the map just like the rival and they go to infinity, even with a few clicks.
Sometimes the car just goes backwards and returns to the start where the game gives it as a win or goes to infinity, from what I've tested it happens when you click or press space at the same time as the car turns the corner.