Finite direct power-closed characteristic is transitive

Statement with symbols
Suppose $$H \le K \le G$$ are groups such that $$H$$ is a finite direct power-closed characteristic subgroup of $$K$$ and $$K$$ is a finite direct power-closed characteristic subgroup of $$G$$. Then, $$H$$ is a finite direct power-closed characteristic subgroup of $$G$$.