Added support for images with different frameIds in bounding box merging
and resulting boxes after merging will now be drawn.