Kinematic Walker — Character Movement Controller for 3D games

I see a similar problem in windows where the mouse is not really locked and so when the cursor reaches the edge of the display it is blocked and there is no more movement. in html5 works fine. I did not went deep on it, I just assumed it was related to this