Actually the opposite occurs. Heat travels from hot to a cold. It is a common misconception that you should place a radiator under the window.
This still occurs with new builds probably due to fashion and tradition.
What you are doing is sending most of your heat straight out the cold window...