change _xpos and _ypos to float not int

These were always meant to be floats.