Extract MainWindow from Screen.