Changed color blending functions and fixed dependents