  
          original = self.media["bounding_box_orig"]
          updated = self.media["bounding_box"]
  
          minsize = int(10 / scale)
          center = (int(self.center[0] / scale), int(self.center[1] / scale))
          updated[0] = min(center[0] - minsize, original[0] - move_x)
          updated[1] = min(center[1] - minsize, original[1] - move_y)
          updated[2] = max(center[0] + minsize, original[2] + move_x)
          updated[3] = max(center[1] + minsize, original[3] + move_y)
 
</s> remove         updated[0] = min(center[0] - minsize, original[0] - move_x)
        updated[1] = min(center[1] - minsize, original[1] - move_y)
        updated[2] = max(center[0] + minsize, original[2] + move_x)
        updated[3] = max(center[1] + minsize, original[3] + move_y)
 </s> add         updated.x = min(center[0] - (minsize // 2), original.x - move_x)
        updated.y = min(center[1] - (minsize // 2), original.y - move_y)
        updated.w = max(minsize, original.w + move_x)
        updated.h = max(minsize, original.h + move_y) </s> remove         self.media["bounding_box"] = [int((pt_x / scale) - width / 2),
                                      int((pt_y / scale) - height / 2),
                                      int((pt_x / scale) + width / 2),
                                      int((pt_y / scale) + height / 2)]
 </s> add         self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height </s> remove         self.media["bounding_box"] = list()
        self.media["bounding_box_orig"] = list()
 </s> add         self.media["bounding_box"] = DetectedFace()
        self.media["bounding_box_orig"] = None </s> remove         logger.trace("Building faces panel. (total_faces: %s", total_faces)
 </s> add         logger.trace("Building faces panel. (total_faces: %s)", total_faces) </s> remove                         self._rollover = ExtractMedia(item.filename, item.image)
                        self._rollover.add_detected_faces(item.detected_faces[f_idx + 1:])
 </s> add                         self._rollover = ExtractMedia(
                            item.filename,
                            item.image,
                            detected_faces=item.detected_faces[f_idx + 1:])
        minsize = int(20 / scale)
  
          original = self.media["bounding_box_orig"]
          updated = self.media["bounding_box"]
  
        minsize = int(20 / scale)
          center = (int(self.center[0] / scale), int(self.center[1] / scale))
          updated[0] = min(center[0] - minsize, original[0] - move_x)
          updated[1] = min(center[1] - minsize, original[1] - move_y)
          updated[2] = max(center[0] + minsize, original[2] + move_x)
          updated[3] = max(center[1] + minsize, original[3] + move_y)
keep keep keep keep replace keep keep keep keep keep
 Bugfix - Manual tool. Use new ExtractMedia class 
tools/lib_alignments/jobs_manual.py