translateToHall method to convert absolute coordinate to relative to hall