keygroup:::set_position is only supposed to be called in emulation thread, not in joystick thread. Change it to platform::queue, which can be safely be called in any thread.