Yeah I think it might be related to that. I know you're not using Unity, but in Unity there's like if you want consistent movement you have to * Time.deltaTime which is the time between two frames so that the speed will be consistent. Maybe there will be something similar in the engine that you use.