Fixed double to float conversions.