I'd have to agree with jonathan2520 & adam giraudet. Please just remove the centering feature and let it remember the position. It's very frustrating. On my own computer I always run a personal mod that removes the line "Mouse.setCursorPosition(...)" from MouseHelper.ungrabMouseCursor(). Actual production code would likely need some additional checks if the window size changes, but shouldn't be too complicated.
I'd have to agree with jonathan2520 & adam giraudet.
Please just remove the centering feature and let it remember the position. It's very frustrating. On my own computer I always run a personal mod that removes the line "Mouse.setCursorPosition(...)" from MouseHelper.ungrabMouseCursor(). Actual production code would likely need some additional checks if the window size changes, but shouldn't be too complicated.