Bug fix in Float to Uchar