Remote control unresponsive

I’ve had the same remote control now for about 5 or 6 years and it’s been fine. It’s an AIM RC6. However over the past maybe 3 years I’ve noticed it’s become worse so I got around to replacing it with this Sometimes I can get a command to go through but mostly not. I’ve tried the remote on a PC and it works perfectly well.

However it’s if anything, worse. I use a bluetooth wireless keyboard as well and I’m now having to use that instead of the remote control.

I’m running Openelec on a Raspberry Pi 3 and I can’t understand why this is happening.