Fix automatic video switching.