Fix animateToComponent