Fix screenshot when alertview is displayed
Merge pull request #213 from ondrejhanslik/screenshot-alert

Fix screenshot when alertview is displayed