Watch the video.
Normally, the only time the mouse cursor can be moved off the game screen in game window is when the ESC key and the inventory mode and chat bars are displayed.
This bug causes the mouse cursor to go off the game screen in the active game screen.
The click operation was taken away to the desktop screen, and the screen displayed at the case of pressed the ESC key.
I restarted game or pc and reset game and recovered os system with command, but this bug did not recover.
Thank you for your report!
We're tracking this issue in MCPE-19965, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki