Fixed a bug when assigning floating point values to the Block color attributes.