SAN FRANCISCO -- Jim Harbaugh's San Francisco 49ers sure have a knack for leaving tough losses behind.