Fixed bugs preventing joysticks from being added without restarting the game was running.