fixed an issue with not passing enough parameters to the onTouchEnded