Use 'pane' instead of 'window'.