Fixed boundingBox calculation issues. Makes map render fine again