Rotate the frame buffer for WP8 during the snapshot
fixing incorrect optimization
Merge pull request #7265 from visiblelight/beta_test

Fix the crash when capturing screen on WP8