Remove viewer callbacks on unregister