Fix set current slide bug