restored cursor shape changing