fix card click and hover conflict