Try to ignore Z from player input also since you are getting a direction from spline.
In addition do normalize output vector before ignoring its Z