Now the selection jumps to the correct action after a new event has been added. Also sets the default device id for Joypad button events to 0. (cherry picked from commit 92ac7067e6)
92ac7067e6