enterPointerlock() and exitPointerlock() causing bugs on Firefox and Safari

I’m getting a bug that when exitPointerlock() the camera will rotate off on it’s own in Firefox, you are able to see here: Babylon.js Playground

Before in my code I had:

            this.scene.onPointerDown = () => {

            this.scene.onPointerUp = () => {

But that would lock the cursor and wouldn’t allow me to rotate the controller. Any ideas?

I see no errors… can you copy/paste the console outputs?

Sorry Weird, I was in such a rush that I should have been more specific. Added what I needed to the top,