I've had cases where mobs pull away from characters with attacks of opportunity without triggering an attack, and I don't use spears. So, I think it may be a problem with attacks of opportunity itself (or my understanding of how it's supposed to work) and not any specific weapon.