Return the center of the image instead of the top-left corner