fixed the CTM renderer to properly average values if the colored light core is installed