Had the "thank you" not been part of my sentence you would be correct. However, they have become the object of the verb "to thank."  This is Fat People Hate, not try and show supposed English usage superiority.