Make sure to set ui mode only + show cursor true when creating the widget and then set game mode only + show cursor false when removing the widget.
Make sure to set ui mode only + show cursor true when creating the widget and then set game mode only + show cursor false when removing the widget.