Support cursor positioning, add Point struct