This mod fix the cursor centering issue that occasionally happens when opening a GUI, e.g. open a container GUI but the cursor doesn't appear from the center which could be dangerous when you need to pull something from a chest or inventory rapidly.
A stable trigger method of the bug: the game window lost its focus without any GUI opening, when it gains the focus again then open a GUI, the cursor will appear from where it was when the window gained the focus. Theoretically, if the cursor can move without a GUI opening, after locking the cursor again(by game input system) and then opening a GUI, the cursor will appear from where it was locked. This may occasionally happen when there is a "tick events traffic".
Client side only.