Fixed bug with 32 bit floats