window: Comment why a bit of code looks ugly