Added a function for removing the video-made-visible listener.