Remove redundant assignment of cursor state