Fixed video closing bug.