Fixed an error with a null Joystick.