Problem with mobile exportation (exitPointerLock)

Hi all ;-)
I have a problem with my game exportation when I use it with iOS in safari...
It works with a good FPS... but when I want to teleport the hero in another map...
TypeError !
document.exitPointerLock is not a function. (In 'document.exitPointerLock()','document.exitPointerLock' is undefined)
Hum... Tricky !
An idea ? Thx 😎

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-mobile-exportation-exitpointerlock.140027/