utils/Detector unification

- `autoDetectRecommendedRenderer` calls `autoDetectRenderer` which removes some extra code
Not sure why this variable is reassigned here.