event propagation cycle fix
move ref to render package