Runtime API minor type correction (getScreenshot)