Fix scrollToCurrent not working with async loading