Remove redundant assignment of cursor state

Looks like this assignment is redundant.