off-by-one error in joysticks.

It seems that joysticks should be checking >= size, rather than just > size.