title: Aframe raycaster does not hit after changing enabled or objects properties
body: <p>I want my raycaster to look for intersections only when the trigger of my vive controller is pressed.
  I thought to initialize the raycaster with a fake class in objects, change it to the real one <code>.prop</code> and gather the <code>intersectedEls</code></p>
  
  <pre><code>let rightHand = document.getElementById('rightController');
  rightHand.setAttribute('line', 'color: purple; opacity: 1;');
  rightHand.setAttribute('raycaster', { showLine: true, objects: '.none' });
  rightHand.setAttribute('cursor', { downEvents: ['triggerdown'], upEvents: ['triggerup'], rayOrigin: 'entity', fuse: false });
  
  let scene = document.getElementById('scene');
  scene.addEventListener('triggerdown', this.myTriggerDown);
  scene.addEventListener('triggerup', this.myTriggerUp);
  
  myTriggerDown() {
      let rightHand = document.getElementById('rightController');
      rightHand.setAttribute('raycaster', { showLine: true, objects: '.prop' });
      rightHand.components['raycaster'].refreshObjects();
  
      let raycaster = rightHand.components['raycaster'];
      let intersectedEls = raycaster.intersectedEls;
  
      if (typeof intersectedEls !== 'undefined' &amp;&amp; intersectedEls.length &gt; 0) {
          scene.components['resize'].enableResize(intersectedEls[0]);
      } else {
          console.log('1234 no intersections')
      }
  }
  myTriggerUp() {
     let rightHand = document.getElementById('rightController');
     rightHand.setAttribute('raycaster', { showLine: true, objects: '.none' });
  }
  </code></pre>
  
  <p>Unfortunately I keep getting the <code>console.log('1234 no intersections')</code> message.</p>
  
  <p>I tried adding the <code>refreshObjects()</code> line with no effects.
  I tried toggling the <code>enabled</code> property instead of changing the <code>objects</code>, but had still the same result.</p>
  
  <p>Any help would be appreciated. Thanks</p>
  
  <p>edit:</p>
  
  <p>if I look for intersections in the triggerup part it works. but this is a workaround which also deprives me of using the intersected element and doing things while keeping the trigger pressed . I'd still like to know why it does not work to enable the ray/change target objects and immediately look for intersections.</p>