True, but after all the sun is blinding your sight, not the window itself.
If the window was the problem you wouldn't emphasize on it being big in your sentence. In that scenario you would just write that the window is annoying. Unless you're hinting at the fact that opening the window takes up too much space in your room due to its size. But then we'd end up with a different sentence haha