Leeds Rhinos head coach Richard Agar pinpointed a poor defensive display as the main factor in the 34-12 defeat to Wigan Warriors in the Super League.