fix roi translation problem