Updated to 17.1 and volume keys stopped working

I updated from 16 to 17.1. Volume keys stopped working on keyboard and remote. If I alt-tab with the keyboard then the volume keys work, but with Kodi as focus they are blocked.