Fix renderer auto detect