Fixed joystick state not being initialized.