Noun
tail wagging the dog (idiomatic) A minor or secondary part of something controlling or dominating the whole or the main part.