Slideshow bugfix