Fit the card's edges to the red frame