impl of Joystick dispose