Fix cover lost when moving attachment