Stability of equilibrium points of projected dynamical systems