Fix for issue #771 (Psi attack breaking targeting mode).
Merge pull request #915 from sfalexrog/fixes

Fix for issue #771 (Psi attack breaking targeting mode).