Fixed the phantom txt file during animations.