Slideshow bug fix.