Add a slight delay after clicking, fixed problem with it not clicking last card.