Well it does seem to work though, at least in 1.35
View attachment 426042
Actually the Defense type (hero) needs the icon without the small box and the (no upgrades) line takes the icon with the box as intended, I was sure the two of them were inverted at some point... Oh well
Edit: just to be clear, this is a custom icon that has the box integrated in it, the game doesn't create it automatically