By default, we prefer taking screenshot of proper sized window. Please check out "How to take a screenshot of a window" of this post.