Time to sleep so I will write a response quick.
Your scenario is very real but usually not a priority to be handled in the object detection algorithm now. Make a final prediction for each cell only. Just hope that the center of the object may locate in a different cell. So a lot of algorithms has issues for very close objects.