Bin Label, ProjectionX, Duplicate bins

I’ve found a strange error using ROOT 6.04/12
When I give text labels to the bin of TH2 and then make a projection, the number of bins is doubled, but the extra bins are empty.

If I run the following I get told 2 bins = 4

{
	TH2F* h2 = new TH2F("h2","h2",2,0,2,512,0,1024);
	h2->GetXaxis()->SetBinLabel(1,"A");
	h2->GetXaxis()->SetBinLabel(2,"B");
	TH1D* projX = h2->ProjectionX("projX");	
	cout<<endl<<" 2 bins = "<<projX->GetNbinsX()<<endl;
}

Is this problem in my system or a genuine bug?

you can do:

projX->LabelsDeflate()

after the projection.