In that case, the microswitches are probably too loose on the joystick, so that pushing the joystick up actually moves the microswitch up instead of activating the up direction on the joystick. Try to find a way of keeping the joystick microswitches steady.