small variable change

Changed some variables as a function that passes x and y coords to be
checked needs floats. nothing has changed though as I can't seem to get
any touch responses working.