[VideoMode] fix possible BSOD.