fixed refactoring error in previous commit

That error caused touches to be lost sometimes in multitouch situations.