Fix browser detection.