Fix import error in viewer.utils.core