Fix bug at touch device.