Fix a bug in Grid.floatPlusWithFactor