Updated magnet track factory class to work with object panel.