Fixed bug where touch was not recognized