It's probably joycon drift, i have the same problem but it goes down.
Even happens on my Acer Aspire E1...
(yes it's running macOS)
It's probably joycon drift, i have the same problem but it goes down.