Fix region center location bug