Fix smartcards bugs with animations