When contained in a UITabBarController, UITabBarController's view should be captured rather than the view itself.
Merge pull request #1 from fireblue/master

Fixed a bug when contained in a UITabBarController