Removed the cast from a VariableReference to a scale.