app: don't session-restore windows partially offscreen or on 2 monitors