Attempt to make redisplay more selective when changing cursor type.