Fixed float scaling issue