Mouse Cursor snaps to center

LogischerJonasHD
2023-06-23 09:32:03Description
When going into the options from the title screen, then hitting either "Done" or ESC, the cursor will snap back to the center of the screen.
When going into any sub-menu of the options, e.g. Video Settings, and hit ESC there, the cursor won't snap back.
This weird behaviour does not happen ingame, so when you're on a world and enter the options, then hit "Done", no snapping.
I have tested this bug in the following versions:
1.12.2, 1.8.9, 1.18.2
Because of that, it's safe to assume that this is happening in every version.
I have confirmed for myself that this bug isn't present in non-LabyMod 4 versions.
https://youtu.be/XJQzwev-WMQ
Operating System: Windows 10
LabyMod Version: 4.0.0+816 snapshot/cfbded
Minecraft Version: 1.12.2, 1.8.9, 1.18.2
Installed Addons: (Varies): OptiFine, Full Bright, BetterPerspective, FriendTags, Spotify, DamageIndicator, ItemPhysics, Badges, CustomNameTags, CustomCrosshair, ToggleSneak, HDSkins, CustomBlockOverlay, HyPlus, AutoReconnect, Laby's Minimap