fixing joystick position lookup error