Fixed issues with slideshow mod