Well here's the issue: The statues created this way aren't supposed to attack the wizard, but the "faction" they have that protects them from the mimics the wizard is also creating doesn't actually contain the wizard itself. The mimics have some other code that tells them not to attack the guy with the staff but the statues don't. 

This usually isn't a problem because the statues are always human controlled, but some guy who got turned ghosted and the now NPC statue didn't mind ruining the wizard.

I can't deny people the right to ghost so I guess I'll have to port over whatever the mimics use.