Fix a bug in bounding box calculation when coordinates are negative