Fixed Grid's getLocationsAround method

Added check if Locations are off left or top edge.