title: Problems while taking screenshots of a window and displaying it with OpenCV
body: <p>When i run this code on my desktop pc it runs fine. but when i run it op my laptop something goes wrong when i set the bounding box for the image grab to the bounding box of the windows calculator and the screen recording of the window and places it self a little up and to the left.</p>
  
  <pre><code>import cv2
  import numpy as np
  from PIL import ImageGrab
  import win32gui
  
  def windowGrab(window_title=None):
      if window_title:
          global hwnd
          hwnd = win32gui.FindWindow(None, window_title)
          if hwnd:
              win32gui.SetForegroundWindow(hwnd)
          else:
              print("window not found")
  
  windowGrab("Calculator")
  
  while True:
      left_x, top_y, right_x, bottom_y = win32gui.GetWindowRect(hwnd)
      screen = np.array(ImageGrab.grab( bbox = (left_x, top_y, right_x, bottom_y ) ) )
      cv2.imshow('window', screen)
      if cv2.waitKey(25) &amp; 0xFF == ord('q'):
          cv2.destroyAllWindows()
          break
  </code></pre>