Joystick fix

Fix Haptick feedback, and a small bug that could leak memory in the Joystick.