The ultra remote controls the tv by IR, and yes all samsung respond to the same IR code set, so the roku remote is doing exactly has its supposed to, controlling both. In a secret menu of the roku you could switch the roku from sending tv IR to cec signals instead. With cec signal it would be sent via wifi to the ultra then the ultra send a cec signal over the hdmi cable only controlling the tv its connected to.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.