added touch events to input class
entity moveto fix
clearing in render method