Fix cursor style in the right place

My previous cursor fix (#12) wasn't getting applied in the right place.