Utility to check to see if user tapped inside a certain type of UI control