Pazzini admits he was offside