Let $f :\mathbb{C} \longrightarrow \mathbb{C}$ be an analytic injective function with $f(0)=0$, let $r>0$. Since $\partial B_r(0)$ is a compact set, then $|f(z)|$ assumes a minimum on $\partial B_r(0)$, say $\varepsilon:=\underset{z \in \partial B_r(0)}{\min} |f(z)|>0$ by injectivity.
Assume that there is $z_0$ with $|z_0|>r$ such that $|f(z_0)|< \varepsilon$. Does then follow with the maximum principle that $f$ is constant? My idea is that the function $z \mapsto |f(z)|$ would then have a maximum inside the ring $\{z \in \mathbb{C}: r < |z| < |z_0| \}$ because of its continuity.
How do I make this argument more rigorous or contradict if it is false?