have sprites with solid behavior that get in the way?
my answers usually involve adding physics to it.. which causes more problems.
else you could have conditions , like a left wall and a right wall, on overlapping one push the car back on course
what behavior does the car have? you could just set the speed/acceleration depending the terrain sprite the car overlaps