Fixed a bug related to video stab crashes with a blank video (Bug #3023)