Fix magnet collisions