Implemented inverted positions when selecting regions.