Prevent vehicle from flying

When my wheeled car vehicle becomes really fast and hits an obstacle from the wrong side, it may fly out of the track, I want to prevent this in any case and need therefore a method how to prevent flying behaviour from the wheeled vehicle template.

Thanks.

For now I placed an invisible wall slightly above the track and the car.