Fix screenshot dialog. Fixes #783
Merge pull request #784 from trainman419/fix_screenshot

Fix screenshot