Fixed bug in moving tags