Changed parameter type from Int to Float

The Option and TextField class now require the x and y parameters in
their constructor to be of the Float type.