Adding .contentShape(Rectangle()) to CourseCard2 answered the problem.
.contentShape(Rectangle())
CourseCard2