langtrap

tail wagging the dog

n.
(idiomatic) A minor or secondary part of something which is controlling or dominating the whole or the main part.