Multi-touch error?

Hi, I'm trying to use your virtual controls in my game.
The virtualtouchpad and virtualjoystick work just fine for single touch alone.

But it becomes lagging when I use two touches for these two controls. Look like they using the same some variables or some thing.
 
Top