Camera position not updating when animating

I created a scene with Blender. It has a camera and is animated to follow a path.
Now when I import the exported gltf model into threejs and start animating the camera in respect to scrolling the webpage, the camera position does not get updated but stays at 0,0,0.
I am using this to animate the camera based on the amount I have scrolled:
actions[‘Camera’]!.getMixer().setTime(actions[‘Camera’]!.getClip().duration * scrollPercentage);

I am using react with react-three-fiber and react-three/drei, I transformed the gltf model to jsx with gltfjsx.

Why is the position of the camera not updated?

I should add that the camera is animated by scrolling like it should, only the camera position when I console log it doesn’t change