Fixed a small bug in rendering float to u8.