[AutoVideoMode] fix possible BSOD (thanks 'khan888' for the log)