Fixed issues with CardsUILib