Fixed bug with persistent magnet links