added conversion ids of tiles in portals to coordinates on getX and getY