handle multi-touch in InputLayer