Fix the ocl::blend's crash in some cases