Fix cursor to change when viewer is created or removed.