Fix invisible cards issue.