Fix wrong video_driver setting when changing in mainmenu

Changing the video_driver in main menu will result in settings like:
  video_driver = Direct3D 8
or
  video_driver = Direct3D 9


Fixed with this pull request.