Fixed terrain glitch and Player positioning