There are 3 mistakes.
in dragEnd, console.log(box) is giving error. There is no such thing as box
Remove x:0, y:0 from tween.to
I have no idea why, the right box doesnt show border for the second time.
But, once you solve 1 & 2, it started working a little.
Here is the forked codepen
https://codepen.io/kishin-karra/pen/PoYZEKo