Lemma: Let $S=\bigoplus_{d\geq 0}S_d$ be a graded ring and $f,g\in S$ be elements of positive degree such that $D_{+}(g)\subset D_{+}(f)$. Then $f$ is invertible in $S_g$.
I attempted to say because $D(g)\cap Proj(S)=D_{+}(g)\subset D_{+}(f)=D(f)\cap Proj(S),$ then $D(g)\subset D(f)$ hence the result follows. But that is certainly not true. Then how could one argue instead that $f$ is invertible in $S_g$?