fixed issue about image center