[desktop] resize window on screen resize #248