Soled: I changed this line and it worked:
const intersects = raycaster.intersectObject(gltfObject, true)