[Experimental build] crash on vehicle.use_controls()

Guys, could you please make a check if returned value is >= 0.
Sometimes after Esc pressed the menu returns UIMENU_INVALID=-1024; and the game crashes at vehicle.cpp:337.