Fixed issue#26 blend factor logic.