Fixed autoplay bug