explicitly set the viewportSize and removed the userAgent specification