move MainWindow::getGameImage to WebView::capture