Camera jumps half a screen to the top left every few seconds

It consistently happens every few seconds where my camera jumps from where it was looking at to some point near the top left of the screen, the same distance every time. I’ve tried reinstalling the game, drivers, and unplugging literally everything and it still happens even without a mouse and a disabled touch pad. Using a Dell XPS 9560.

Edit: also this does not happen in any other game I’ve tried, only Overwatch.

This sounds like a mouse issue, even if it isn’t happening in other games. It could be caused by an issue with a slower sensor, debris on the sensor or the surface. Are you by chance using a Razer Chroma?