I have spent multiple hours trying to figure this out. Basically I have a Threejs scene formatted as a react component (meaning the initialization of the scene is done in Co