Fixed bug in touch controls