Tail wagging the dog
Tail wagging the dog is a metaphor for an unimportant or trivial factor controlling or dominating a situation. The expression dates from the 1870s and is American in origin.