Thanks Nate.
That looks a bit too expensive to call every frame for every skeleton.
What I'll probably try is, calculating the rectangle once, storing it, and then translate the rectangle as the skeleton moves. Even though the rectangle becomes invalid after animating the skeleton, I think it's close enough that it won't matter. Or maybe just add 20% to the size of the rectangle to account for animations.