Wigan boss Paul Cook says he was proud of his players despite individual errors costing them the game after they took the lead early on.