Fixed a bug in joystick tracker