Currently, Box Object has its hotspot in the middle and Text Object on top left corner. As such, Box Object's 'Attach to Object' action doesn't really work as intended for the Text Object.
Therefore I suggest altering either object's hotspot - perhaps as an option in preferences.
Thank you.
Moving.