Screenshot based on wpfa-4.0 fixes #2