Error in Bounding Box and drawing its outline

Can you help to find bounding box of poles & bird and draw its outline.
I have used following code to find Bounding box but when drawn outline for the same it seems like too big.How can I resolve it.
I have attached screenshots of Enitites hierarchy , code snippet and output screenshot.
Thank you



Please keep your posts about the same topic in the same thread. Merging

A post was merged into an existing topic: How to draw bounding box of sprite with some color