bugfixes in gbufferpass::draw_rays() and node::set_dirty()