Fix card auto-sizing