Fix cursor when not collapsing