minor bug fixing for roi crossing the 0 - 360 degrees meridian