Fixed selected card display bug