Cast draw inputs to floats