Cursor position added to player rotation when exiting UI while cursor is moving
What I expected to happen was...:
The player starts to turn starting from the location they were looking at when they opened the UI.
What actually happened was...:
The player immediately turns a large amount after exiting a UI, then proceeds to turn normally
Steps to Reproduce:
1. Enter a game
2. Open any UI (inventory, chest, pause menu...)
3. Close the menu while moving the cursor. The longer it is moving in one direction, the more pronounced the effect