Do not allow magic/combat stance unless magic/inventory window are accessible
Merge remote-tracking branch 'potatoesmaster/bug-839'