Refactor minimap indicator, split updateScrollX and updateScrollY