Fix chrome.tabs.captureVisibleTab on Chrome 34