Bugfix for libjoystick