Fix the defect in Magn3105

http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3105#tab=Comments