Workaround to get chrome.restoreEntry() to work