Fix for opening avis which breaks the browser after video export.