It seems be a Switch issue. If you look at the thread people with other brands are also reporting the problem, it just happens that Samsung is getting the worst of it.
No setting, on the switch or my tv. My best friend also has the same problem, and there is a nintendo help post I linked in the my warping switch thread. You can just take it out of the dock I believe though. That's what I've been doing.
Hopefully the kinks are ironed out already had a few issues (warping system, randomly switching my input even while off, and occasionally left joycon desync).