Fixed hanging when loading cards.