There seems to be a well-known result in commutative algebra that if $A$ is a commutative ring with unity and $M$ is a finitely generated $A$-module then any surjective endomorphism $f : M \to M$ is necessarily an automorphism. My reference for this fact is Eisenbud's GTM150 commutative algebra book Corollary 4.4 (or more directly, e.g., this).
Of course the above property fails for injective endomorphisms, as we have simple examples such as $A = k[x]$, $M = A$ with $f$ a multiplication map by $x$.
Now let $X$ be a projective variety over a field $k$ and $F$ a coherent sheaf on it. Say $f : F \to F$ is its endomorphism. If $f$ is surjective then the above commutative algebra fact says $f$ is an automorphism. My question is: if $f$ is injective, is $f$ an isomorphism?
My attempt was the following. Say we have a short exact sequence $0 \to F \to F \to C \to 0$. Fix any ample line bundle on $X$ and associate Hilbert polynomials to $F$ and $C$. By the short exact sequence, this forces the Hilbert polynomial associated to $C$ to be a constant $0$, forcing $C$ to be the zero sheaf. This also works when $f$ is surjective.
Is this proof correct? I'm a little worried since I couldn't find any reference for this.