add touchscreen target check