In an acute-angled triangle $ABC$ with orthocenter $H$, the line $AH$ cuts $BC$ at point $A_1$. Let $\Gamma$ be a circle centered on side $AB$ tangent to $AA_1$ at point $H$. Prove that $\Gamma$ is tangent to the circumscribed circle of triangle $AMA_1$, where $M$ is the midpoint of $AC$.