change Cc3dDeviceAndOSInfo::getViewport() to getScreenRect()