Update magic effects when changing equipment (Fixes #1646)