Yes. Most likely there is a bug in your code.
When I try TransformControls, the bounding box is recalculates as expected:
TransformControls