X and Y from client should be integers, not floats.