fix bug causing the 2nd video to overwrite the first video element