Sets the origin to the center of the image.

def center_origin(self):
        """Sets the origin to the center of the image."""
        self.set_origin(Vector2(self.image.get_width() / 2.0, self.image.get_height() / 2.0))