delete reference on temp vars and AnimatedSprite now listens to ChangePositionEvent to edit sprite position