Assume $f:X\rightarrow Y$ is a continuous function between metric spaces such that for all small $r>0$, and all $x\in X$, $B_{f(x)}(r)\subseteq f(B_x(r))$. Assume $K$ is compact and $f|_{K}$ is injective, does it follow that $f|^{-1}{K}$ is Lipschitz?