Fix for events not being passed to renderer when references are changed.
Fix for events not being passed to renderer when references are changed.

CCLDESTY/xml3d.js,ariyapour/xml3d.js,ariyapour/xml3d.js,CCLDESTY/xml3d.js,Fiware/webui.Xml3d.js,Fiware/webui.Xml3d.js,xml3d/xml3d.js,xml3d/xml3d.js