Fixed bug in tween edition