OSMC makes tv switch source when starting video

Have a look at Settings>System>Input Devices>Peripherals>CEC and change the options there to prevent it