A way to disable resetting FOV when switching different volumes

I have a bunch of volumes that are in the same coordinate space and orientation. They are loaded into the scene and when I zoom in one volume and then, go to data module to turn on the visibility of the volume, slice views resets my zoom levels and the slice I am on.

This is a reasonable behavior normally, but for my use case it is rather annoying. Is there a way to stop this from happening through some sort of a python command?

Something like the following in the right-click context menu of the visibility column in the Data module?

Yes, exactly. I didn’t know about this!