Magboots fix.
Merge pull request #3379 from Segrain/master

Magboots bugfix.