Raspberry Pi 2 shuts down when I turn off the receiver

Every time I power off my recevier, my Raspberry Pi 2 also get powered off.
What causes this behaviour, and how do I turn it off? I’d like to have OSMC always running, so it can update the Kodi database when tv episodes have benn downloaded via SABnzbd.

System > System > Input Devices > Peripherals > CEC Adapter
Set When the TV is switched off to Ignore

You need to adjust the system settings, so that the Pi ignores your turning off of the receiver.
Derek