On select we were adding zindex, so when it was dragged, it would be on top.

However, this meant the bounding box was always below, so instead we update the zindex on drag start, because that's what it is actually needed for.