It means "That the guitar is broken is a different matter" (and shouldn't blur the focus on the other one following)
I suppose he went too far as a reaction to his guitar got broken, and this sentence is saying that this reaction of his is unjustifiable.