Fix SwiftUI card background colors bleeding past screen edges by applying .clipShape after the background modifier.