Fix mobile detection.