Fix the spell icon panel being visible when it shouldn't.