Bugfix: chrome.windows.getLastFocused() may return null