add a guard in case SDL misreports number of axes