Only set touch variable if the user actually touched the screen.