How do I fix my right trigger on the xbox one controller when playing fortnite?

So basically, I downloaded a driver and have a usb cable for my xbox one controller. I am trying to use it to play fortnite on my macbook but for some reason, when i try to turn with the right joystick, the screen starts to rotate horizontally uncontrollably and the only way to make it stop is to unplug my usb cable from my macbook. Does anyone know how to fix this?

Do and emote not a toy like a legit dance

Do an emote like a legit dance it worked with me