Fixed missing visHandler in unregister.