Wigan coach Shaun Wane conceded his team were far from their best on Friday night as they snatched a last-minute win against Catalan Dragons.