nanshe/nanshe_viewer.py: Possible workaround to allow nested operations.