Updated getPegmanYCoordinate to round to an integer.