fix border alignment

Turns out this was the problem with the misaligned top/left edges of card containers.