Fix bug in home page slideshow.