bug fix in render multipass