Use screen flags instead of pane flags