Added missing captureWinId