fixed pane/window issue