memory/thread-leak fixed
fixed an access violation in refractive blending