Problems with AR start coordinates

When starting the AR session, the origin point of the world is set to the location where the quest glasses were placed, instead of the point where the session was started. I am using three libraries and the three.js button to start the AR session. I have been trying different actions and there is none that works correctly, it keeps doing the same. Is there any way to solve this problem?