Some cases of targeting are bugged, primarily when a gun becomes unavailable for one reason or another and the target isn't un-targeted. I feel this bug might be located somewhere in the targeting code.