Stop video on window close