Fix type cast for ArgValue<float> (thanks to Philipp Otto for reporting)