Errors costly for Badgers in season-opening loss