reduce flicker when mouse moves from one card to another