Fixed Bugs relating to input touches