Joystick De-bounce and Bug fix