The problem can be seen in attached image. The capture area and captured image are not that much exact...
Here is the code which is taking snapshot.
v