fix model/element attributes removal when moving a cupcake from an slot to another