Thanks! That did the trick.

I think the manual (A6.60) could have been a little bit clearer on how window() actually works...