Cast to ushort instead of ubbyte when converting ColorRGBAf into ColorRGBA