Ensure the slideshow is stopped on plugin detach