Attempts to fix joystick event handling in general, as well as also fixing joystick use in menus. Needs feedback and testing.