Screenshot works for responsive sites, having issues with user agent setting