Fixed joysticks test segfault.