Fixed case in call to setCursor