Targeting for attacks should prioritize hostile monsters
If you have a companion closer to you than an enemy, missile targeting will start off on the companion instead of the enemy. Either give enemies priority on the cycle of targets, or remove companions and peaceful monsters from the cycle.