properly reset the cursorshape
"This property can be reset to the same initial condition by setting it to undefined."
make use of that, no point hard coding implicit default values. also it actually breaks the hover logic, though it is unclear why. in any event this code is more correct