Mouse clings to the left side and seems to click randomly

Since installation my mouse sometimes snaps to the left side of the screen, sometimes it’s bareable but a lot of the time it just constantly does it, making doing any tasks very difficult. This happens without the mouse being turned on so I assume it’s some kind of software bug. When I’ve tried to search online for causes, the only thing I could find was something about a drawing tablet and touchpad but I have touchpad disabled (because I’m on a desktop) and my drawing tablet is unplugged, I also don’t have the software for the drawing tablet so I don’t think that’s what’s going on.
It also doesn’t show up in this command, which I saw someone run to disable the tablet. (To be clear, I don’t know why my headphones (baseus bowie) are listed as a keyboard here)

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ROYUAN Akko keyboard Consumer Control     id=10   [slave  pointer  (2)]
⎜   ↳ ROYUAN Akko keyboard Mouse                id=13   [slave  pointer  (2)]
⎜   ↳ Logitech G305                             id=14   [slave  pointer  (2)]
⎜   ↳ wch.cn USB2IIC_CTP_CONTROL                id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ ROYUAN Akko keyboard                      id=9    [slave  keyboard (3)]
    ↳ ROYUAN Akko keyboard System Control       id=11   [slave  keyboard (3)]
    ↳ ROYUAN Akko keyboard Keyboard             id=12   [slave  keyboard (3)]
    ↳ ROYUAN Akko keyboard Consumer Control     id=16   [slave  keyboard (3)]
    ↳ Logitech G305                             id=17   [slave  keyboard (3)]
    ↳ Baseus Bowie 30 Max (AVRCP)               id=18   [slave  keyboard (3)]