fix errors when unloading/reloading a video src