updated getCenterOfTile - turning into get intersection from x/y coordinates