2021LTS -> 2022LTS - Middle-mouse click in game view causes mouse to teleport

This is especially troublesome in that it moves our in-game camera in 2022, but not in 2021!

Does anyone know if this mouse teleporting behaviour can be turned off?

(In clips below, mouse is teleporting when I press middle-mouse, which is the button we use for in-game camera panning)

2021:
4z9bog

2022:
y1ow83

Solved… It was some old mouse locking code calling ‘Mouse.current.WarpCursorPosition’