Fix webview detection