Fixes the limitedbase to work with multiple joysticks

Fixes the limitedbase to work with multiple joysticks at the same time
on a touch screen device.