          """
          if not self._globals.tk_update.get():
              return
          self._image.refresh(self.active_editor.view_mode)
          to_display = sorted([self.selected_action] + self.editor_display[self.selected_action])
          self._hide_additional_faces()
          for editor in to_display:
              self._editors[editor].update_annotation()
          self._bind_unbind_keys()
 
</s> remove         mask = face.mask.get(self._canvas.selected_mask, None) if get_mask else None
        mask = mask if mask is None else mask.mask.squeeze()
 </s> add         mask = self._obtain_mask(face, self._canvas.selected_mask) if get_mask else None </s> remove             mask = None if state == "hidden" else det_faces.mask.get(mask_type, None)
            mask = mask if mask is None else mask.mask.squeeze()
 </s> add             mask = None if state == "hidden" else self._obtain_mask(det_face, mask_type)
        zoomed_centering = self.active_editor.zoomed_centering
          """
          if not self._globals.tk_update.get():
              return
        zoomed_centering = self.active_editor.zoomed_centering
          self._image.refresh(self.active_editor.view_mode)
          to_display = sorted([self.selected_action] + self.editor_display[self.selected_action])
          self._hide_additional_faces()
          for editor in to_display:
              self._editors[editor].update_annotation()
          self._bind_unbind_keys()
keep keep add keep keep keep keep keep keep
 Manual Tool - Update to support masks with different centering 
tools/manual/frameviewer/frame.py