Fixed flickering of bg-slideshow.