fix(Editor): initialize cursor to avoid broken history behaviour when down-keys is pressed first