android: Touch input id 0 was incorrectly treated as invalid.

Reported by Max Savenkov.  Bug #390.