How to fix these cold spots

I have this glass window in my living room that let's in a lot of cold air. I'm wondering how I can fix that issue. I got a thermal image of it and it seems to be coming from the corners. Any ideas?