Fix to Bounds util getContainerBounds