Moved saveScreenshot() to ViewManager.