fix cursor change in daemon mode for real