stuck on pictures menu item – enablejoystick=true

I am having the same problem as in the video bellow running Kodi 16 on Retropie. Following the suggestion of change enablejoystick=false in “~/.kodi/userdata/guisettings.xml” fixed the probably, however it makes the joystick useless. Is there a way to have the issue fixed (or workarounded) in order to use joystick to operate kodi?

https://www.youtube.com/watch?v=ZCyrcVJtYCw