Retirement tax questions

Yes, I reported it all, it says "rollover" on line 4 b, and the federal tax tax withheld was included on line 25b.   But I included the entire amount when I rolled it all back over into my IRA, including the federal tax amount withheld.   Doesn't that mean I paid the federal tax twice?    The federal tax was $1200 which was withheld and included in my overall tax obligation, and then another $1200 I paid with private funds back into the IRA.     I think I would be fine had I rolled over the entire amount LESS the $1200 federal tax.