Let $X,Y,Z$ be projective varieties, and let $f:X\rightarrow Y$, $g:X\rightarrow Z$ be dominant morphisms. Assume that all the fibers of $g$ have the same dimension.

If there exists a point $z_0\in Z$ such that $f(g^{-1}(z_0))\subseteq Y$ has dimension $k$ is it true that $f(g^{-1}(z))\subseteq Y$ has dimension $k$ for any $z\in Z$ ?