title: Chrome capture visible tab gives messy result
body: <p>I have a Chrome extension, where I'm using the <code>captureVisibleTab</code> method of the  <code>chrome.tabs</code> API to capture screenshots. I have tested the extension on 3 devices (Chromebooks) and I'm getting mixed results. Two of them work perfectly, but one always returns a completely malformed screenshot.</p>
  
  <p>My code:</p>
  
  <pre><code>chrome.tabs.onUpdated.addListener(function(tabId,changeInfo,tab){
      chrome.tabs.get(tabId, function (_tab) {
          if (_tab.status == "complete" &amp;&amp; _tab.active ) {
              chrome.tabs.captureVisibleTab( function(dataUrl){
  
              });
          }
      });
  });
  </code></pre>
  
  <p>Any ideas what could be the issue on that one device?</p>
  
  <p>EDIT</p>
  
  <p>Example of a bad screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/yd1Tb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yd1Tb.png" alt="malformed screenshot taken by a Chrome extension"></a></p>