A bug with mouse click events after creating and deleting a 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.