Camera freezes in Pointer lock on click

I’ve made a Universal camera, which I hope can be used for any basic game functionality for the game I’m creating. Recently I added the Pointer lock, and now when the user clicks while using the recently added pointer lock, the camera completely freezes. This makes sense, as Pointer Lock sends sort of a constant clicking, but I have no idea how to stop the camera from doing this. Any help? Thanks :slightly_smiling_face::+1:.

Could you repro the issue on a simple playground ??? I am not able to repro so I bet I am not looking at right thing.

For some reason it won’t load in the playground, but here it is: (7.9 KB)