Fixed the implementation of the getScreenshot method
Merge pull request #36 from stof/fix_screenshot

Fixed the implementation of the getScreenshot method