fixed video selection dialog so it doesn't crash on Linux