As we discuss, we should avoid to propagate window in this way, and make the check before. Because my pull is rewriting mostly everything, is not worthy to change it now, so I will land it and see what's the error log has to say.