Better way to compute children bounds for image tooltip